package org.linlinjava.litemall.db.domain;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class LumiereSubscribeRuleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LumiereSubscribeRuleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public LumiereSubscribeRuleExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public LumiereSubscribeRuleExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public static Criteria newAndCreateCriteria() {
        LumiereSubscribeRuleExample example = new LumiereSubscribeRuleExample();
        return example.createCriteria();
    }

    public LumiereSubscribeRuleExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public LumiereSubscribeRuleExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSubscribeIdIsNull() {
            addCriterion("subscribe_id is null");
            return (Criteria) this;
        }

        public Criteria andSubscribeIdIsNotNull() {
            addCriterion("subscribe_id is not null");
            return (Criteria) this;
        }

        public Criteria andSubscribeIdEqualTo(Integer value) {
            addCriterion("subscribe_id =", value, "subscribeId");
            return (Criteria) this;
        }

        public Criteria andSubscribeIdEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("subscribe_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubscribeIdNotEqualTo(Integer value) {
            addCriterion("subscribe_id <>", value, "subscribeId");
            return (Criteria) this;
        }

        public Criteria andSubscribeIdNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("subscribe_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubscribeIdGreaterThan(Integer value) {
            addCriterion("subscribe_id >", value, "subscribeId");
            return (Criteria) this;
        }

        public Criteria andSubscribeIdGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("subscribe_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubscribeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("subscribe_id >=", value, "subscribeId");
            return (Criteria) this;
        }

        public Criteria andSubscribeIdGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("subscribe_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubscribeIdLessThan(Integer value) {
            addCriterion("subscribe_id <", value, "subscribeId");
            return (Criteria) this;
        }

        public Criteria andSubscribeIdLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("subscribe_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubscribeIdLessThanOrEqualTo(Integer value) {
            addCriterion("subscribe_id <=", value, "subscribeId");
            return (Criteria) this;
        }

        public Criteria andSubscribeIdLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("subscribe_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubscribeIdIn(List<Integer> values) {
            addCriterion("subscribe_id in", values, "subscribeId");
            return (Criteria) this;
        }

        public Criteria andSubscribeIdNotIn(List<Integer> values) {
            addCriterion("subscribe_id not in", values, "subscribeId");
            return (Criteria) this;
        }

        public Criteria andSubscribeIdBetween(Integer value1, Integer value2) {
            addCriterion("subscribe_id between", value1, value2, "subscribeId");
            return (Criteria) this;
        }

        public Criteria andSubscribeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("subscribe_id not between", value1, value2, "subscribeId");
            return (Criteria) this;
        }

        public Criteria andRuleTypeIsNull() {
            addCriterion("rule_type is null");
            return (Criteria) this;
        }

        public Criteria andRuleTypeIsNotNull() {
            addCriterion("rule_type is not null");
            return (Criteria) this;
        }

        public Criteria andRuleTypeEqualTo(Byte value) {
            addCriterion("rule_type =", value, "ruleType");
            return (Criteria) this;
        }

        public Criteria andRuleTypeEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("rule_type = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRuleTypeNotEqualTo(Byte value) {
            addCriterion("rule_type <>", value, "ruleType");
            return (Criteria) this;
        }

        public Criteria andRuleTypeNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("rule_type <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRuleTypeGreaterThan(Byte value) {
            addCriterion("rule_type >", value, "ruleType");
            return (Criteria) this;
        }

        public Criteria andRuleTypeGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("rule_type > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRuleTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("rule_type >=", value, "ruleType");
            return (Criteria) this;
        }

        public Criteria andRuleTypeGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("rule_type >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRuleTypeLessThan(Byte value) {
            addCriterion("rule_type <", value, "ruleType");
            return (Criteria) this;
        }

        public Criteria andRuleTypeLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("rule_type < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRuleTypeLessThanOrEqualTo(Byte value) {
            addCriterion("rule_type <=", value, "ruleType");
            return (Criteria) this;
        }

        public Criteria andRuleTypeLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("rule_type <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRuleTypeIn(List<Byte> values) {
            addCriterion("rule_type in", values, "ruleType");
            return (Criteria) this;
        }

        public Criteria andRuleTypeNotIn(List<Byte> values) {
            addCriterion("rule_type not in", values, "ruleType");
            return (Criteria) this;
        }

        public Criteria andRuleTypeBetween(Byte value1, Byte value2) {
            addCriterion("rule_type between", value1, value2, "ruleType");
            return (Criteria) this;
        }

        public Criteria andRuleTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("rule_type not between", value1, value2, "ruleType");
            return (Criteria) this;
        }

        public Criteria andDaysTimesIsNull() {
            addCriterion("days_times is null");
            return (Criteria) this;
        }

        public Criteria andDaysTimesIsNotNull() {
            addCriterion("days_times is not null");
            return (Criteria) this;
        }

        public Criteria andDaysTimesEqualTo(Integer value) {
            addCriterion("days_times =", value, "daysTimes");
            return (Criteria) this;
        }

        public Criteria andDaysTimesEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("days_times = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDaysTimesNotEqualTo(Integer value) {
            addCriterion("days_times <>", value, "daysTimes");
            return (Criteria) this;
        }

        public Criteria andDaysTimesNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("days_times <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDaysTimesGreaterThan(Integer value) {
            addCriterion("days_times >", value, "daysTimes");
            return (Criteria) this;
        }

        public Criteria andDaysTimesGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("days_times > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDaysTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("days_times >=", value, "daysTimes");
            return (Criteria) this;
        }

        public Criteria andDaysTimesGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("days_times >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDaysTimesLessThan(Integer value) {
            addCriterion("days_times <", value, "daysTimes");
            return (Criteria) this;
        }

        public Criteria andDaysTimesLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("days_times < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDaysTimesLessThanOrEqualTo(Integer value) {
            addCriterion("days_times <=", value, "daysTimes");
            return (Criteria) this;
        }

        public Criteria andDaysTimesLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("days_times <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDaysTimesIn(List<Integer> values) {
            addCriterion("days_times in", values, "daysTimes");
            return (Criteria) this;
        }

        public Criteria andDaysTimesNotIn(List<Integer> values) {
            addCriterion("days_times not in", values, "daysTimes");
            return (Criteria) this;
        }

        public Criteria andDaysTimesBetween(Integer value1, Integer value2) {
            addCriterion("days_times between", value1, value2, "daysTimes");
            return (Criteria) this;
        }

        public Criteria andDaysTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("days_times not between", value1, value2, "daysTimes");
            return (Criteria) this;
        }

        public Criteria andWeekTimesIsNull() {
            addCriterion("week_times is null");
            return (Criteria) this;
        }

        public Criteria andWeekTimesIsNotNull() {
            addCriterion("week_times is not null");
            return (Criteria) this;
        }

        public Criteria andWeekTimesEqualTo(Integer value) {
            addCriterion("week_times =", value, "weekTimes");
            return (Criteria) this;
        }

        public Criteria andWeekTimesEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("week_times = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeekTimesNotEqualTo(Integer value) {
            addCriterion("week_times <>", value, "weekTimes");
            return (Criteria) this;
        }

        public Criteria andWeekTimesNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("week_times <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeekTimesGreaterThan(Integer value) {
            addCriterion("week_times >", value, "weekTimes");
            return (Criteria) this;
        }

        public Criteria andWeekTimesGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("week_times > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeekTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("week_times >=", value, "weekTimes");
            return (Criteria) this;
        }

        public Criteria andWeekTimesGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("week_times >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeekTimesLessThan(Integer value) {
            addCriterion("week_times <", value, "weekTimes");
            return (Criteria) this;
        }

        public Criteria andWeekTimesLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("week_times < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeekTimesLessThanOrEqualTo(Integer value) {
            addCriterion("week_times <=", value, "weekTimes");
            return (Criteria) this;
        }

        public Criteria andWeekTimesLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("week_times <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeekTimesIn(List<Integer> values) {
            addCriterion("week_times in", values, "weekTimes");
            return (Criteria) this;
        }

        public Criteria andWeekTimesNotIn(List<Integer> values) {
            addCriterion("week_times not in", values, "weekTimes");
            return (Criteria) this;
        }

        public Criteria andWeekTimesBetween(Integer value1, Integer value2) {
            addCriterion("week_times between", value1, value2, "weekTimes");
            return (Criteria) this;
        }

        public Criteria andWeekTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("week_times not between", value1, value2, "weekTimes");
            return (Criteria) this;
        }

        public Criteria andWeekDateIsNull() {
            addCriterion("week_date is null");
            return (Criteria) this;
        }

        public Criteria andWeekDateIsNotNull() {
            addCriterion("week_date is not null");
            return (Criteria) this;
        }

        public Criteria andWeekDateEqualTo(String value) {
            addCriterion("week_date =", value, "weekDate");
            return (Criteria) this;
        }

        public Criteria andWeekDateEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("week_date = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeekDateNotEqualTo(String value) {
            addCriterion("week_date <>", value, "weekDate");
            return (Criteria) this;
        }

        public Criteria andWeekDateNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("week_date <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeekDateGreaterThan(String value) {
            addCriterion("week_date >", value, "weekDate");
            return (Criteria) this;
        }

        public Criteria andWeekDateGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("week_date > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeekDateGreaterThanOrEqualTo(String value) {
            addCriterion("week_date >=", value, "weekDate");
            return (Criteria) this;
        }

        public Criteria andWeekDateGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("week_date >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeekDateLessThan(String value) {
            addCriterion("week_date <", value, "weekDate");
            return (Criteria) this;
        }

        public Criteria andWeekDateLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("week_date < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeekDateLessThanOrEqualTo(String value) {
            addCriterion("week_date <=", value, "weekDate");
            return (Criteria) this;
        }

        public Criteria andWeekDateLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("week_date <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeekDateLike(String value) {
            addCriterion("week_date like", value, "weekDate");
            return (Criteria) this;
        }

        public Criteria andWeekDateNotLike(String value) {
            addCriterion("week_date not like", value, "weekDate");
            return (Criteria) this;
        }

        public Criteria andWeekDateIn(List<String> values) {
            addCriterion("week_date in", values, "weekDate");
            return (Criteria) this;
        }

        public Criteria andWeekDateNotIn(List<String> values) {
            addCriterion("week_date not in", values, "weekDate");
            return (Criteria) this;
        }

        public Criteria andWeekDateBetween(String value1, String value2) {
            addCriterion("week_date between", value1, value2, "weekDate");
            return (Criteria) this;
        }

        public Criteria andWeekDateNotBetween(String value1, String value2) {
            addCriterion("week_date not between", value1, value2, "weekDate");
            return (Criteria) this;
        }

        public Criteria andMonthTimesIsNull() {
            addCriterion("month_times is null");
            return (Criteria) this;
        }

        public Criteria andMonthTimesIsNotNull() {
            addCriterion("month_times is not null");
            return (Criteria) this;
        }

        public Criteria andMonthTimesEqualTo(Integer value) {
            addCriterion("month_times =", value, "monthTimes");
            return (Criteria) this;
        }

        public Criteria andMonthTimesEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("month_times = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthTimesNotEqualTo(Integer value) {
            addCriterion("month_times <>", value, "monthTimes");
            return (Criteria) this;
        }

        public Criteria andMonthTimesNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("month_times <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthTimesGreaterThan(Integer value) {
            addCriterion("month_times >", value, "monthTimes");
            return (Criteria) this;
        }

        public Criteria andMonthTimesGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("month_times > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("month_times >=", value, "monthTimes");
            return (Criteria) this;
        }

        public Criteria andMonthTimesGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("month_times >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthTimesLessThan(Integer value) {
            addCriterion("month_times <", value, "monthTimes");
            return (Criteria) this;
        }

        public Criteria andMonthTimesLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("month_times < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthTimesLessThanOrEqualTo(Integer value) {
            addCriterion("month_times <=", value, "monthTimes");
            return (Criteria) this;
        }

        public Criteria andMonthTimesLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("month_times <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthTimesIn(List<Integer> values) {
            addCriterion("month_times in", values, "monthTimes");
            return (Criteria) this;
        }

        public Criteria andMonthTimesNotIn(List<Integer> values) {
            addCriterion("month_times not in", values, "monthTimes");
            return (Criteria) this;
        }

        public Criteria andMonthTimesBetween(Integer value1, Integer value2) {
            addCriterion("month_times between", value1, value2, "monthTimes");
            return (Criteria) this;
        }

        public Criteria andMonthTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("month_times not between", value1, value2, "monthTimes");
            return (Criteria) this;
        }

        public Criteria andMonthDateIsNull() {
            addCriterion("month_date is null");
            return (Criteria) this;
        }

        public Criteria andMonthDateIsNotNull() {
            addCriterion("month_date is not null");
            return (Criteria) this;
        }

        public Criteria andMonthDateEqualTo(Integer value) {
            addCriterion("month_date =", value, "monthDate");
            return (Criteria) this;
        }

        public Criteria andMonthDateEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("month_date = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthDateNotEqualTo(Integer value) {
            addCriterion("month_date <>", value, "monthDate");
            return (Criteria) this;
        }

        public Criteria andMonthDateNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("month_date <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthDateGreaterThan(Integer value) {
            addCriterion("month_date >", value, "monthDate");
            return (Criteria) this;
        }

        public Criteria andMonthDateGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("month_date > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthDateGreaterThanOrEqualTo(Integer value) {
            addCriterion("month_date >=", value, "monthDate");
            return (Criteria) this;
        }

        public Criteria andMonthDateGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("month_date >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthDateLessThan(Integer value) {
            addCriterion("month_date <", value, "monthDate");
            return (Criteria) this;
        }

        public Criteria andMonthDateLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("month_date < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthDateLessThanOrEqualTo(Integer value) {
            addCriterion("month_date <=", value, "monthDate");
            return (Criteria) this;
        }

        public Criteria andMonthDateLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("month_date <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthDateIn(List<Integer> values) {
            addCriterion("month_date in", values, "monthDate");
            return (Criteria) this;
        }

        public Criteria andMonthDateNotIn(List<Integer> values) {
            addCriterion("month_date not in", values, "monthDate");
            return (Criteria) this;
        }

        public Criteria andMonthDateBetween(Integer value1, Integer value2) {
            addCriterion("month_date between", value1, value2, "monthDate");
            return (Criteria) this;
        }

        public Criteria andMonthDateNotBetween(Integer value1, Integer value2) {
            addCriterion("month_date not between", value1, value2, "monthDate");
            return (Criteria) this;
        }

        public Criteria andYearTimesIsNull() {
            addCriterion("year_times is null");
            return (Criteria) this;
        }

        public Criteria andYearTimesIsNotNull() {
            addCriterion("year_times is not null");
            return (Criteria) this;
        }

        public Criteria andYearTimesEqualTo(Integer value) {
            addCriterion("year_times =", value, "yearTimes");
            return (Criteria) this;
        }

        public Criteria andYearTimesEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("year_times = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andYearTimesNotEqualTo(Integer value) {
            addCriterion("year_times <>", value, "yearTimes");
            return (Criteria) this;
        }

        public Criteria andYearTimesNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("year_times <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andYearTimesGreaterThan(Integer value) {
            addCriterion("year_times >", value, "yearTimes");
            return (Criteria) this;
        }

        public Criteria andYearTimesGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("year_times > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andYearTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("year_times >=", value, "yearTimes");
            return (Criteria) this;
        }

        public Criteria andYearTimesGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("year_times >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andYearTimesLessThan(Integer value) {
            addCriterion("year_times <", value, "yearTimes");
            return (Criteria) this;
        }

        public Criteria andYearTimesLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("year_times < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andYearTimesLessThanOrEqualTo(Integer value) {
            addCriterion("year_times <=", value, "yearTimes");
            return (Criteria) this;
        }

        public Criteria andYearTimesLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("year_times <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andYearTimesIn(List<Integer> values) {
            addCriterion("year_times in", values, "yearTimes");
            return (Criteria) this;
        }

        public Criteria andYearTimesNotIn(List<Integer> values) {
            addCriterion("year_times not in", values, "yearTimes");
            return (Criteria) this;
        }

        public Criteria andYearTimesBetween(Integer value1, Integer value2) {
            addCriterion("year_times between", value1, value2, "yearTimes");
            return (Criteria) this;
        }

        public Criteria andYearTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("year_times not between", value1, value2, "yearTimes");
            return (Criteria) this;
        }

        public Criteria andYearDateIsNull() {
            addCriterion("year_date is null");
            return (Criteria) this;
        }

        public Criteria andYearDateIsNotNull() {
            addCriterion("year_date is not null");
            return (Criteria) this;
        }

        public Criteria andYearDateEqualTo(String value) {
            addCriterion("year_date =", value, "yearDate");
            return (Criteria) this;
        }

        public Criteria andYearDateEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("year_date = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andYearDateNotEqualTo(String value) {
            addCriterion("year_date <>", value, "yearDate");
            return (Criteria) this;
        }

        public Criteria andYearDateNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("year_date <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andYearDateGreaterThan(String value) {
            addCriterion("year_date >", value, "yearDate");
            return (Criteria) this;
        }

        public Criteria andYearDateGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("year_date > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andYearDateGreaterThanOrEqualTo(String value) {
            addCriterion("year_date >=", value, "yearDate");
            return (Criteria) this;
        }

        public Criteria andYearDateGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("year_date >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andYearDateLessThan(String value) {
            addCriterion("year_date <", value, "yearDate");
            return (Criteria) this;
        }

        public Criteria andYearDateLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("year_date < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andYearDateLessThanOrEqualTo(String value) {
            addCriterion("year_date <=", value, "yearDate");
            return (Criteria) this;
        }

        public Criteria andYearDateLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("year_date <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andYearDateLike(String value) {
            addCriterion("year_date like", value, "yearDate");
            return (Criteria) this;
        }

        public Criteria andYearDateNotLike(String value) {
            addCriterion("year_date not like", value, "yearDate");
            return (Criteria) this;
        }

        public Criteria andYearDateIn(List<String> values) {
            addCriterion("year_date in", values, "yearDate");
            return (Criteria) this;
        }

        public Criteria andYearDateNotIn(List<String> values) {
            addCriterion("year_date not in", values, "yearDate");
            return (Criteria) this;
        }

        public Criteria andYearDateBetween(String value1, String value2) {
            addCriterion("year_date between", value1, value2, "yearDate");
            return (Criteria) this;
        }

        public Criteria andYearDateNotBetween(String value1, String value2) {
            addCriterion("year_date not between", value1, value2, "yearDate");
            return (Criteria) this;
        }

        public Criteria andPointIsNull() {
            addCriterion("point is null");
            return (Criteria) this;
        }

        public Criteria andPointIsNotNull() {
            addCriterion("point is not null");
            return (Criteria) this;
        }

        public Criteria andPointEqualTo(Integer value) {
            addCriterion("point =", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("point = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointNotEqualTo(Integer value) {
            addCriterion("point <>", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("point <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointGreaterThan(Integer value) {
            addCriterion("point >", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("point > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("point >=", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("point >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointLessThan(Integer value) {
            addCriterion("point <", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("point < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointLessThanOrEqualTo(Integer value) {
            addCriterion("point <=", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("point <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPointIn(List<Integer> values) {
            addCriterion("point in", values, "point");
            return (Criteria) this;
        }

        public Criteria andPointNotIn(List<Integer> values) {
            addCriterion("point not in", values, "point");
            return (Criteria) this;
        }

        public Criteria andPointBetween(Integer value1, Integer value2) {
            addCriterion("point between", value1, value2, "point");
            return (Criteria) this;
        }

        public Criteria andPointNotBetween(Integer value1, Integer value2) {
            addCriterion("point not between", value1, value2, "point");
            return (Criteria) this;
        }

        public Criteria andNextSubPointIsNull() {
            addCriterion("next_sub_point is null");
            return (Criteria) this;
        }

        public Criteria andNextSubPointIsNotNull() {
            addCriterion("next_sub_point is not null");
            return (Criteria) this;
        }

        public Criteria andNextSubPointEqualTo(Integer value) {
            addCriterion("next_sub_point =", value, "nextSubPoint");
            return (Criteria) this;
        }

        public Criteria andNextSubPointEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("next_sub_point = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNextSubPointNotEqualTo(Integer value) {
            addCriterion("next_sub_point <>", value, "nextSubPoint");
            return (Criteria) this;
        }

        public Criteria andNextSubPointNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("next_sub_point <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNextSubPointGreaterThan(Integer value) {
            addCriterion("next_sub_point >", value, "nextSubPoint");
            return (Criteria) this;
        }

        public Criteria andNextSubPointGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("next_sub_point > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNextSubPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("next_sub_point >=", value, "nextSubPoint");
            return (Criteria) this;
        }

        public Criteria andNextSubPointGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("next_sub_point >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNextSubPointLessThan(Integer value) {
            addCriterion("next_sub_point <", value, "nextSubPoint");
            return (Criteria) this;
        }

        public Criteria andNextSubPointLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("next_sub_point < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNextSubPointLessThanOrEqualTo(Integer value) {
            addCriterion("next_sub_point <=", value, "nextSubPoint");
            return (Criteria) this;
        }

        public Criteria andNextSubPointLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("next_sub_point <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNextSubPointIn(List<Integer> values) {
            addCriterion("next_sub_point in", values, "nextSubPoint");
            return (Criteria) this;
        }

        public Criteria andNextSubPointNotIn(List<Integer> values) {
            addCriterion("next_sub_point not in", values, "nextSubPoint");
            return (Criteria) this;
        }

        public Criteria andNextSubPointBetween(Integer value1, Integer value2) {
            addCriterion("next_sub_point between", value1, value2, "nextSubPoint");
            return (Criteria) this;
        }

        public Criteria andNextSubPointNotBetween(Integer value1, Integer value2) {
            addCriterion("next_sub_point not between", value1, value2, "nextSubPoint");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(BigDecimal value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("price = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(BigDecimal value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("price <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(BigDecimal value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("price > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("price >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(BigDecimal value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("price < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("price <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<BigDecimal> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<BigDecimal> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andNextSubPriceIsNull() {
            addCriterion("next_sub_price is null");
            return (Criteria) this;
        }

        public Criteria andNextSubPriceIsNotNull() {
            addCriterion("next_sub_price is not null");
            return (Criteria) this;
        }

        public Criteria andNextSubPriceEqualTo(BigDecimal value) {
            addCriterion("next_sub_price =", value, "nextSubPrice");
            return (Criteria) this;
        }

        public Criteria andNextSubPriceEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("next_sub_price = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNextSubPriceNotEqualTo(BigDecimal value) {
            addCriterion("next_sub_price <>", value, "nextSubPrice");
            return (Criteria) this;
        }

        public Criteria andNextSubPriceNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("next_sub_price <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNextSubPriceGreaterThan(BigDecimal value) {
            addCriterion("next_sub_price >", value, "nextSubPrice");
            return (Criteria) this;
        }

        public Criteria andNextSubPriceGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("next_sub_price > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNextSubPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("next_sub_price >=", value, "nextSubPrice");
            return (Criteria) this;
        }

        public Criteria andNextSubPriceGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("next_sub_price >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNextSubPriceLessThan(BigDecimal value) {
            addCriterion("next_sub_price <", value, "nextSubPrice");
            return (Criteria) this;
        }

        public Criteria andNextSubPriceLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("next_sub_price < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNextSubPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("next_sub_price <=", value, "nextSubPrice");
            return (Criteria) this;
        }

        public Criteria andNextSubPriceLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("next_sub_price <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNextSubPriceIn(List<BigDecimal> values) {
            addCriterion("next_sub_price in", values, "nextSubPrice");
            return (Criteria) this;
        }

        public Criteria andNextSubPriceNotIn(List<BigDecimal> values) {
            addCriterion("next_sub_price not in", values, "nextSubPrice");
            return (Criteria) this;
        }

        public Criteria andNextSubPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("next_sub_price between", value1, value2, "nextSubPrice");
            return (Criteria) this;
        }

        public Criteria andNextSubPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("next_sub_price not between", value1, value2, "nextSubPrice");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(LocalDateTime value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(LocalDateTime value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(LocalDateTime value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<LocalDateTime> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<LocalDateTime> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(LocalDateTime value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(LocalDateTime value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(LocalDateTime value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<LocalDateTime> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("`status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("`status` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("`status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("`status` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("`status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("`status` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("`status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("`status` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("`status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("`status` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("`status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualToColumn(LumiereSubscribeRule.Column column) {
            addCriterion(new StringBuilder("`status` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("`status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("`status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("`status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("`status` not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private LumiereSubscribeRuleExample example;

        protected Criteria(LumiereSubscribeRuleExample example) {
            super();
            this.example = example;
        }

        public LumiereSubscribeRuleExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(LumiereSubscribeRule.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(LumiereSubscribeRule.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(org.linlinjava.litemall.db.domain.LumiereSubscribeRuleExample example);
    }
}